package com.ruoyi.system.dto.kujiale.info;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 酷家乐存档详情实体（对应三方接口d.result元素）
 */
@Data
@ApiModel(description = "酷家乐单条存档详情，包含存档基本信息和资源列表")
public class ArchiveResultItem {

    @ApiModelProperty(
            value = "存档资源列表（如DXF/JPG/PDF等文件）",
            required = false,
            dataType = "java.util.List<com.ruoyi.system.dto.kujiale.archive.ArchiveResourceItem>"
    )
    private List<ArchiveResourceItem> resources;

    @ApiModelProperty(
            value = "酷家乐方案ID（与「方案基础信息」接口的designBaseId一致）",
            required = false,
            example = "3FO3461K81DC"
    )
    private String designId;

    @ApiModelProperty(
            value = "楼层（1=地上第一层，-1=地下第一层，默认1）",
            required = false,
            example = "1"
    )
    private Integer level;

    @ApiModelProperty(
            value = "存档创建时间（毫秒级时间戳）",
            required = false,
            example = "1609873072000"
    )
    private Long created;

    @ApiModelProperty(
            value = "存档唯一ID（用于后续查询/删除存档）",
            required = false,
            example = "3FO4K4VY4S5M"
    )
    private String archiveId;

    @ApiModelProperty(
            value = "存档名称（默认\"未命名方案\"）",
            required = false,
            example = "客厅施工图存档"
    )
    private String archiveName;

    @ApiModelProperty(
            value = "存档包含的图纸总数（如10张施工图）",
            required = false,
            example = "10"
    )
    private Integer pageCount;
}